// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import store from './store/index'
import * as echarts from 'echarts'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '@/style/global.scss'
import {router} from './router'
// import '@/mock/index.js/'


import {
  getRequest,
  postRequest
} from './apis/requests/requests'
import util from './util/util'

Vue.prototype.$echarts = echarts;
Vue.prototype.$getRequest = getRequest;
Vue.prototype.$postRequest = postRequest
Vue.prototype.$util = util
Vue.config.productionTip = false
Vue.use(ElementUI)

new Vue({
  el: '#app',
  router,
  store,
  components: {App},
  template: '<App/>'
})
